﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NovelSpider
{
    public static class Constant
    {
        /// <summary>
        /// 规则动态库目录
        /// </summary>
        public static string COLLECT_RULE_PATH = AppDomain.CurrentDomain.BaseDirectory + @"Collectors\";
        /// <summary>
        /// 储存动态库目录
        /// </summary>
        public static string STORAGE_RULE_PATH = AppDomain.CurrentDomain.BaseDirectory + @"Storagers\";

       
    }

    /// <summary>
    /// 任务调度方式
    /// </summary>
    public enum Cron
    {
        RightNow,
        DelayOnce,
        Loop
    }
    /// <summary>
    /// 消息级别
    /// </summary>
    public enum MsgLevel
    {
        Critical,
        Exclamation,
        Info,
        Debug
    }
}
